]> dgit.raspbian.org Git - gnome-shell.git/commit
altTab: fix destroy-without-showing case
authorDan Winship <danw@gnome.org>
Thu, 6 Jan 2011 18:38:41 +0000 (13:38 -0500)
committerDan Winship <danw@gnome.org>
Thu, 6 Jan 2011 18:38:41 +0000 (13:38 -0500)
commita46baeed0b51991d3bcaf0924c80dd6dfe5756ab
treed3c0e62fb274685f788ed2578632100fbb49364a
parentcff503922c72ea2a1946873a3e4e5d6cbf6dc409
altTab: fix destroy-without-showing case

If the switcher is destroyed without ever being fully shown (either
because it couldn't get a keyboard grab, or just because there are no
apps to display), destroy it immediately rather than tweening it
towards destruction, since its contents haven't been built yet and
_allocate() will throw errors if it runs.
js/ui/altTab.js